using UnityEngine;
using UnityEngine.SceneManagement;

public class HouseDialog : MonoBehaviour
{
    public GameObject Dialog;

    private void OnTriggerEnter2D(Collider2D other) {
      if(other.tag == "Player"){
        Dialog.SetActive(true);
      }
    }

    private void OnTriggerExit2D(Collider2D other) {
      if(other.tag == "Player"){
        Dialog.SetActive(false);
      }
    }
}
